package com.sqsf.service.impl;
import com.sqsf.dao.AccountDao;
import com.sqsf.service.AccountService;
public class AccountServiceImpl implements AccountService{
    private AccountDao accountDao;
    public void setAccountDao(AccountDao accountDao) {
        this.accountDao = accountDao;
    }
    @Override
    public void zz(String out, String in, double money) {
        accountDao.updateSubMoneyByName(out,money);
        System.out.println(1/0);
        accountDao.updateAddMoneyByName(in,money);
    }
}
